﻿<%@ Page Language="C#" MasterPageFile="~/member/mMenber.master" AutoEventWireup="true" CodeBehind="pbbs.aspx.cs" Inherits="map.member.pbbs" Title="我的论坛" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head2" runat="server">
<link href="../outstyle.css" rel="stylesheet" type="text/css" />
<script src="../js/dropdowncontent.js" type="text/javascript"></script>
<style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            color: Red;
            font-weight: bold;
        }
        .style3
        {
            color: #FFFFFF;
        }
        .style4
        {
        }
        .style5
        {
            
        }
        .style6
        {
           width: 25%;
        }
        .*
        {
            margin: 0;
            padding: 0;
            font-size: small;
        }
        .style7
        {
            width:92px;
            height:23px;
            background-image:url(../images/userButton3.gif);
            background-position:center;
            background-repeat:no-repeat;
            text-align:center;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <asp:HyperLink ID="HyperLink_openbbs"  Target="_blank" runat="server">打开我的论坛</asp:HyperLink>
    &nbsp;
    <a href="../bbsmanage/siteinfo.aspx"target="_blank">论坛基本设置</a>&nbsp;

    <br />
    <hr />
    <asp:Label ID="Label_name" runat="server" Text="论坛名称"></asp:Label>
<div style="
                            border-bottom-color:Gray; border-bottom-style:solid; border-bottom-width:1px;
                            border-left-color:Gray; border-left-style:solid; border-left-width:1px;
                            border-right-color:Gray; border-right-style:solid; border-right-width:1px;
                            ">
                <table style="width: 100%;" cellspacing="0" cellpadding="0" border="0">
                    <tr style="background-color:Green; height: 20px;">
                        <td class="style4">
                            <span class="style3">&nbsp; <b>最新发帖</b></span>
                        </td>
                        <td class="style5">
                            <span class="style3">&nbsp; <b>本月热帖</b></span>
                        </td>
                        <td style="width:200px;">
                            <span class="style3">&nbsp; <b>今日排行</b></span>
                        </td>
                        <td style="width:200px;">
                            <span class="style3">&nbsp; <b>今年排行</b></span>
                        </td>
                    </tr>
                    <tr style="vertical-align: top;">
                        <td class="style4">
                        
                            <asp:GridView ID="GridView_newnotes" runat="server" AutoGenerateColumns="False" BorderColor="#F0F0F0"
                                BorderStyle="Solid" Width="100%" ShowHeader="false"  PagerStyle-Wrap="false">
                                <Columns>
                                    <asp:TemplateField>
                                        <ItemTemplate>
                                            <a href='<%#ResolveUrl("~/bbsview/") +Eval("cblistid")+".html"%>'>
                                                <%#RuleCode.Table.cbuser.CutString(  Eval("cbtitle").ToString(),38,"..")%></a>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                           
                        </td>
                        <td class="style5">
                   
                            <asp:GridView ID="GridView_mth" runat="server" AutoGenerateColumns="False" BorderColor="#F0F0F0"
                                BorderStyle="Solid" Width="100%" ShowHeader="false">
                                <Columns>
                                    <asp:TemplateField>
                                        <ItemTemplate>
                                            <a href='<%#ResolveUrl("~/bbsview/") +Eval("cblistid")+".html"%>'>
                                               <%#RuleCode.Table.cbuser.CutString(  Eval("cbtitle").ToString(),38,"..")%></a>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                         
                        </td>
                        <td style="width:200px;">
                      
                            <asp:GridView ID="GridView_today" runat="server" AutoGenerateColumns="False" BorderColor="#F0F0F0"
                                BorderStyle="Solid" Width="100%" ShowHeader="false">
                                <Columns>
                                    <asp:TemplateField>
                                        <ItemTemplate>
                                            <a href='<%#ResolveUrl("~/blog/") +Eval("userrecid")+".html"%>' target="_blank">&nbsp;<%#chatblog.zfunction.getnick(Eval("cbuserid").ToString())%></a>
                                            &nbsp;&nbsp;<%#Eval("shuliang")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </td>
                        <td style="width:200px;">
        
                            <asp:GridView ID="GridView_year" runat="server" AutoGenerateColumns="False" BorderColor="#F0F0F0"
                                BorderStyle="Solid" Width="100%" ShowHeader="false">
                                <Columns>
                                    <asp:TemplateField>
                                        <ItemTemplate>
                                            <a href='<%#ResolveUrl("~/blog/") +Eval("userrecid")+".html"%>' target="_blank">&nbsp;<%#chatblog.zfunction.getnick( Eval("cbuserid").ToString())%></a>
                                            &nbsp;&nbsp;<%#Eval("shuliang")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </td>
                    </tr>
                </table></div>
</asp:Content>
